package cn.icanci.loopstack.bic.dal.mongo.daointerface;

import cn.icanci.loopstack.bic.dal.mongo.dateobject.NodeVueDO;

/**
 * @author icanci
 * @since 1.0 Created in 2023/09/14 21:19
 */
public interface NodeVueDAO extends BaseDAO<NodeVueDO> {
    /** 文档对应的名字  */
    String           COLLECTION_NAME  = BASE_COLLECTION_NAME + "node-vue";
    /** 文档对应的Class */
    Class<NodeVueDO> COLLECTION_CLASS = NodeVueDO.class;

    NodeVueDO queryBySystemUuidAndName(String systemUuid, String name);

    NodeVueDO queryBySystemUuidAndKey(String systemUuid, String key);

    NodeVueDO queryByUuid(String nodeVueUuid);

    /** 列 */
    interface NodeVueColumn extends BaseColumn {
        String SYSTEM_UUID   = "systemUuid";
        String NODE_UUID     = "nodeUuid";
        String NODE_VUE_NAME = "nodeVueName";
        String NODE_VUE_KEY  = "nodeVueKey";
        String NODE_VUE_CODE = "nodeVueCode";
        String NODE_VUE_TYPE = "nodeVueType";
    }
}
